#ifndef __DATAFILTER_H__
#define __DATAFILTER_H__
#include "stdio.h"

typedef struct AverageFilter_CB
{
    const int bufsize;
    float* buf;
    int index;
    float lastSum;
}AverageFilter_CB;


float AverageFilter(AverageFilter_CB* var, float data);




#endif